package com.app.backend.password.check.vo;


import lombok.Data;

/**
 * @author Jet zheng
 */
@Data
public class RequestBean {
    private static final InheritableThreadLocal<RequestBean> INHERITABLE_THREAD_LOCAL = new InheritableThreadLocal();
    private String password;
    private String requestJson;

    public static RequestBean get() {
        return INHERITABLE_THREAD_LOCAL.get();
    }

    public static void set(RequestBean userBean) {
        INHERITABLE_THREAD_LOCAL.set(userBean);
    }

    public static void remove() {
        INHERITABLE_THREAD_LOCAL.remove();
    }
}
